//
//  HorizontalCollectionView.h
//  BaseProject
//
//  Created by 王洋 on 2021/3/26.
//  Copyright © 2021 王洋. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "CommonPromiseTagCell.h"


NS_ASSUME_NONNULL_BEGIN

typedef NS_ENUM(NSInteger, H_CollectionCellType) {
    //class
    H_CollectionCellType_class,
    //nib
    H_CollectionCellType_nib
};

typedef NS_ENUM(NSInteger, HorizontalCollectionType) {
    //店铺详情
    HorizontalCollectionType_storeDetail,
    //酒店详情
    HorizontalCollectionType_hotelDetail,//CommonPromiseTagCell
    //套餐详情
    HorizontalCollectionType_packageDetail,
};

@interface HorizontalCollectionView : UIView

//承诺标签数据源
@property (nonatomic, strong) NSMutableArray <CommonPromiseTagModel *>*promiseArray;

- (instancetype)initWithType:(HorizontalCollectionType)type;

- (void)fillPromiseData:(NSMutableArray <CommonPromiseTagModel *>*)promiseArray;

@end

NS_ASSUME_NONNULL_END
